package java0609;

public class Bird extends Animal implements IFlyable{

    @Override
    public void TakeOff() {
        System.out.println("鸟可以起飞且起飞的很快");
    }

    @Override
    public void Fly() {
        System.out.println("鸟可以飞但飞的没有飞机快");
    }

    @Override
    public void Land() {
        System.out.println("鸟可以快速着陆");
    }
    public void LayEggs(){
        System.out.println("鸟会下蛋");
    }
    public void eat(){
        System.out.println("鸟会吃虫子");
    }

}
